<?php
// Display all values in a given browsing category
head(array('title' => 'Parcourir par champs ' . $category->display_name, 'bodyclass' => 'metadatabrowser')); ?>

<div id="secondary">
	<?php echo secondary_poincare();?>
</div>

<div id="primary">
	<h1>Parcourir par <?php
		if ($category->display_name=='Creator') echo 'auteurs';
		elseif ($category->display_name=='Subject') echo 'thèmes';
		elseif ($category->display_name=='Date') echo 'dates';
		else echo 'champ "'.$category->display_name.'"';
		?></h1>
	<div class='hTagcloud'>
		<ul class="popularity">
			<?php
			$categoryValues = $category->getAssignedValues();
			?>
			<?php foreach($categoryValues as $value): ?>
			<li><?php echo metadata_browser_create_link($category->element_id, $value)?></li>
			<?php endforeach; ?>
		</ul>
	</div>
</div>

<?php foot(); ?>


